DHCP over WiFi on CentOS 6 [closed]
Posted
by
dongle26
on Server Fault
See other posts from Server Fault
or by dongle26
Published on 2012-10-12T00:21:15Z
Indexed on
2012/10/12
3:38 UTC
Read the original article
Hit count: 463
Using CentOS 6 I cannot get my WiFi interface to configure over DHCP. Here is my ifcfg-wlan0
:
This does not work (although it is correct):
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Wireless
This works:
DEVICE=wlan0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.0.253
NETMASK=255.255.255.0
DNS1=192.168.0.99
GATEWAY=192.168.0.99
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Wireless
I don't want a static IP address, I want a DHCP assigned address.
Update: Both of the above configs are correct.
Please don't downvote, this really didn't work for me. It must be a bug in CentOS or my wireless driver. See my answer for details.
© Server Fault or respective owner